gtk: Use context's font
authorBenjamin Otte <otte@redhat.com>
Thu, 6 Dec 2012 01:47:24 +0000 (02:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 6 Dec 2012 01:57:18 +0000 (02:57 +0100)
commit7747910b9d9a58bd6a162a497d6cbfd692df132b
tree11fc4b34078ac6633d7264af0f81e55de154a441
parenta405c9917c550b72d8805fce9f29e63ccd57e5ed
gtk: Use context's font

Instead of using gtk_style_context_get_font() in
pango_context_get_metrics(), use pango_context_get_font_description().
The context contains the font description we are about to use after all.
gtk/gtkcellrenderertext.c
gtk/gtkcombobox.c
gtk/gtkentry.c
gtk/gtklabel.c
gtk/gtkmenuitem.c
gtk/gtkprogressbar.c
gtk/gtktoolbar.c